// dlg.txt

//mark_quest_dest(zone,x,y,layer,quest);
//	code =
//		sf(,,2);
//		toggle_quest(19,10);
//		award_party_xp(MED_QUEST_XP);
//	break;

begintalkscript;

variables;

short this_town = 3;

begintalknode;
	tag = 1;
	condition = get_sdf(this_town,1) == 0;
	text1 = "You enter [F3], Haven's southern fort in the Low Dhaga. It is in the state of disrepair you have sadly come to expect. There are no smithies. No trading posts. The walls need repair.";
	text2 = "There are people here. A few guards practice in the parade ground. Dhagan men have come from their clans to do business. Everyone is quiet and nervous. They look around constantly, awaiting a raid at any moment.";
	text3 = "Since the raiders who tried to kill you probably entered the Gentle Coast for this reason, their fear is understandable. It will take a lot of work to get this fort ready for the conflict that may be coming.";
	text4 = "This fort is now under your control. You have access to its resources, and you can rebuild its buildings and shops. Also, you can now recruit Low Dhaga warriors in the Edit Party window.";
	code =
		sf(this_town,1,1);
		sf(3,0,1);
		set_town_visibility(3,1);
	break;
	
begintalknode;
	tag = 2;
	condition = get_sdf(this_town,2) == 0;
	text1 = "These two crowded rooms contain a small apothecary and field hospital. The woman in charge has crammed all of the supplies and beds into here that she can.";
	text2 = "One stone table has been commandeered to be used for surgery. It hasn't been stained with blood yet. That time may be coming soon.";
	code =
		sf(this_town,2,1);
	break;

begintalknode;
	tag = 3;
	condition = get_sdf(this_town,3) == 0;
	text1 = "__";
	code =
		sf(this_town,3,1);
	break;

begintalknode;
	tag = 4;
	condition = get_sdf(this_town,4) == 0 && portal_convo() > 0;
	text1 = "The mirror starts to sparkle when you pass by. Someone far away strongly wishes to speak with you.";
	text2 = "(Use the mirror to talk to Haven. When it is sparkling, someone is trying to contact you.)";
	code =
		sf(this_town,4,1);
	break;

begintalknode;
	tag = 5;
	condition = get_sdf(this_town,5) == 0;
	text1 = "__";
	code =
		sf(this_town,5,1);
	break;

begintalknode;
	tag = 6;
	condition = get_sdf(this_town,6) == 0;
	text1 = "__";
	code =
		sf(this_town,6,1);
	break;

begintalknode;
	tag = 7;
	condition = get_sdf(this_town,7) == 0;
	text1 = "__";
	code =
		sf(this_town,7,1);
	break;

begintalknode;
	tag = 8;
	condition = get_sdf(this_town,8) == 0;
	text1 = "__";
	code =
		sf(this_town,8,1);
	break;

begintalknode;
	tag = 9;
	condition = get_sdf(this_town,9) == 0;
	text1 = "__";
	code =
		sf(this_town,9,1);
	break;

begintalknode;
	tag = 10;
	condition = get_sdf(this_town,10) == 0;
	text1 = "__";
	code =
		sf(this_town,10,1);
	break;

begintalknode;
	tag = 11;
	condition = get_sdf(this_town,11) == 0;
	text1 = "__";
	code =
		sf(this_town,11,1);
	break;

begintalknode;
	tag = 12;
	condition = get_sdf(this_town,12) == 0;
	text1 = "__";
	code =
		sf(this_town,12,1);
	break;

// MIXED

begintalknode;
	tag = 13;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 14;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 15;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 16;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 17;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 18;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 19;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 20;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 21;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 22;
	condition = 1;
	text1 = "__";

//// Chief Murph

begintalknode;
	tag = 30;
	state = -1;
	nextstate = 10;
	condition = 1;
	question = "Name";
	text1 = "This lone outpost, out in the middle of a dangerous bandit-ridden wasteland, has been put in the charge of one exhausted old bureaucrat. Years of wind and sand have worn all color and energy out of him.";
	text2 = "Yet, the habits of Haven are hard to shake. He rises slowly from his chair and bows. The presence of a [P] even makes him almost show an emotion. He says, _Welcome, [P] [N]. I am Chief Murph of [F3]._";
	text3 = "_We are honored by your visit, and we hope you enjoy our hospitality. Beds are upstairs. May I give you my report?_";
	text5 = "Chief Murph sits listlessly in his chair, slowly becoming one with the stone furniture. It would take a lightning bolt to get a bit of energy into this guy.";
	action = INTRO;

begintalknode;
	state = 10;
	nextstate = 11;
	condition = gf(3,11) == 0;
	question = "_I will take your report._";
	text1 = "_As you have seen, this fort is miserably neglected. We are under attack, but I lack the supplies to build the smithies and other facilities needed. We have failed you._";

begintalknode;
	state = 11;
	nextstate = -1;
	condition = 1;
	question = "_Why don't you have supplies?_";
	text1 = "_I answer to Governor Aato, who can be found in Azam. He distributes supplies to the forts and outposts of Haven. If you speak with him, I'm sure he can share his great wisdom with you._";

begintalknode;
	state = 11;
	nextstate = -1;
	condition = 1;
	question = "_Why has this fort been allowed to decay so much?_";
	text1 = "_Governor Aato has given a list of reasons why we can't provoke the Rokaj. For him, keeping proper Havenite forts is a provocation. I'm sure he would love a visit from you, so that he can share his unique insights._";

begintalknode;
	state = 11;
	nextstate = 10;
	condition = 1;
	question = "_Your problems are noted. Now we will get to work fixing them._";
	text1 = "Chief Murph nods and then slumps back down into his chair. _This fort has little. My authority and resources have slipped away. I do have knowledge, though. I will share with you all I can._";
	code = 
		queen_faction(1);
		sf(3,11,1);
	break;

begintalknode;
	state = 11;
	nextstate = 10;
	condition = 1;
	question = "_Everything seems fine. I will be gone soon._";
	text1 = "Chief Murph nods and then slumps back down into his chair. _I expected no more or less. If you do ever waste your time making an effort here, I will help however I can._";
	code = 
		queen_faction(-2);
		sf(3,11,1);
	break;

begintalknode;
	state = 11;
	nextstate = 10;
	condition = 1;
	question = "_I don't like complaining. I make sure that whiners are punished._";
	text1 = "Chief Murph nods, slumps back down into his chair, and bows his head. _I'm sure I will end up hanging from the posts outside. Before justice is done, I will share with you all I can. This fort has little. My authority and resources have slipped away. I do have knowledge._";
	code = 
		violence(2);
		sf(3,11,1);
	break;

begintalknode;
	state = 10;
	nextstate = 17;
	condition = gf(3,11) > 0;
	question = "_Tell me more about you._";
	text1 = "_I don't expect to be very interesting. I have given my life serving Haven. First, as a soldier. Then, a counsel. Then, ten years ago, I was elevated to Chief. Your mother was at the ceremony. It was a great honor. The peak of my life._";
	text2 = "_Then I asked to come to the Rokaj. This violent land._";

begintalknode;
	state = 17;
	nextstate = -1;
	condition = 1;
	question = "_Is this your first post as chief?_";
	text1 = "_The second. My first post was in a prosperous, peaceful land. I barely had to act. Many would cherish such a post. I was foolish enough to want more challenge._";

begintalknode;
	state = 17;
	nextstate = -1;
	condition = 1;
	question = "_Why did you choose to come here?_";
	text1 = "_I wanted to end my career with ..._ He chuckles. _Glory. I wanted to hold this fort against chaos. I have been punished for ambition._";

begintalknode;
	state = 17;
	nextstate = -1;
	condition = 1;
	question = "_Have you done any fighting?_";
	text1 = "_No. I drill my soldiers as best I can, but we have not had one battle. Governor Aato has us stay here. The only order I get is to not provoke the Low Dhagans._";
	text2 = "_Now they provoke us._";
	
begintalknode;
	state = 10;
	nextstate = 12;
	condition = gf(3,11) > 0;
	question = "_Tell me about [F3]._";
	text1 = "_We have two forts in the Low Dhaga. Haven's land. I command here. I do all I can. Which has been nothing, it appears._";

begintalknode;
	state = 12;
	nextstate = -1;
	condition = 1;
	question = "_What is the history of the Low Dhaga?_";
	text1 = "_The Low Dhagans are a people with an expansive character. The High Lithans stay on the peak. The Kranas folk love their woods too much to leave. But the Dhagans? With their sandy land and brutal past? The Low Dhagans are raiders._";
	text2 = "_They attack and raid, and they nurture grudges for centuries. They are the eternal fire of the Ro._";

begintalknode;
	state = 12;
	nextstate = -1;
	condition = 1;
	question = "_Have you been attacked here?_";
	text1 = "_Oh, no. The Low Dhagans are fierce, but they are wily. They won't attack this fort. They just flow around it to spread chaos._";
	text2 = "_That doesn't mean they will never attack us. They will, one day. It's just that, when the attack comes, it will be fast and lethal._";

begintalknode;
	state = 12;
	nextstate = 13;
	condition = 1;
	question = "_This fort needs to be rebuilt._";
	text1 = "_Yes. Your presence gives me hope that rebuilding can happen. I don't have the authority to give the necessary order, but you do. The main thing we lack is supplies._";

begintalknode;
	state = 13;
	nextstate = -1;
	condition = 1;
	question = "_You should get some supplies._";
	text1 = "_I am not allowed to have them, because I would use them. That would be a 'provocation,' so forbidden._";
	
begintalknode;
	state = 13;
	nextstate = 14;
	condition = 1;
	question = "_Why didn't you tell Haven about your situation?_";
	text1 = "_There was a time when I made an effort. When I argued. I sent messages about this fort back to Haven. However, they went astray._";

begintalknode;
	state = 14;
	nextstate = -1;
	condition = 1;
	question = "_What happens to the messages?_";
	text1 = "_All messages back to Haven have to pass through Governor Aato's office. Somehow, they were lost._";

begintalknode;
	state = 10;
	nextstate = 15;
	condition = gf(3,11) > 0 && gf(80,11) < 3;
	question = "_I want to know more about your governor._";
	text1 = "_Governor Aato._ He shakes his head. _He is my superior, so I don't want to criticize. It is bad form._";
	text2 = "_He has made all of the strategic decisions here. I follow them. He is in Azam, if you want more details._";

begintalknode;
	state = 15;
	nextstate = -1;
	condition = 1;
	question = "_How long has Aato been here?_";
	text1 = "_Four years. He came a year after I did. His predecessor was also timid, but I was allowed to do basic maintenance._";

begintalknode;
	state = 15;
	nextstate = -1;
	condition = 1;
	question = "_Do you speak with him often?_";
	text1 = "_Once, we talked frequently. Then we argued frequently. Then we kept to ourselves. He has the power. I just do my job as best I can._";

begintalknode;
	state = 15;
	nextstate = 16;
	condition = 1;
	question = "_How has Aato's performance been?_";
	text1 = "_You must judge it yourself. I imagine that judging Aato is the reason that you are here. I can say that I have complained constantly. My letters will be in his records._";
	text2 = "_If he is to be replaced ... That is your decision._";

begintalknode;
	state = 16;
	nextstate = -1;
	condition = 1;
	question = "_What did he say about your complaints?_";
	text1 = "_He does not listen to me. He has not for years._";
	text2 = "_He cares about peace. This means not provoking the Ro. Which means not doing anything. Whether the Low Dhagans see this as weakness ... That is your decision._";

begintalknode;
	state = 16;
	nextstate = -1;
	condition = 1;
	question = "_Could he be replaced?_";
	text1 = "_He can, if you say so. The problem is: Who will replace him? I can't. I am too old, too worn down. Ambitious, skilled Havenites have not stayed under Aato's command._";
	text2 = "_You would have to find someone better than him. Good luck._";

begintalknode;
	state = 10;
	nextstate = -1;
	condition = gf(3,11) > 0 && gf(80,11) >= 3;
	question = "_I have made a decision about your governor._";
	text1 = "The chief begins to exercise some long-dormant diplomatic muscles. _I have heard. You evaluated the situation, and you made a difficult decision. I promise that I admire your wisdom and back what you decided completely._";

begintalknode;
	state = 10;
	nextstate = 20;
	condition = gf(3,11) > 0 && gf(80,12) < 8;
	question = "_There has been a lot of unrest lately._";
	text1 = "_Yes, to our eternal shame. We know that raiders tried to kill you. We never would have imagined such an outrage. It is like the Rokaj is begging for bloodshed._";

begintalknode;
	state = 20;
	nextstate = 21;
	condition = 1;
	question = "_Where do you think the raiders were from?_";
	text1 = "_The raiders who attacked you came from the Low Dhaga. But ... That does not mean they originated there. They could have come from anywhere in the Rokaj, gathered in the Low Dhaga, and then descended into the Gentle Coast._";
	text2 = "_Don't be too hasty to blame the hill folk. They are not fools._";
	
begintalknode;
	state = 21;
	nextstate = -1;
	condition = 1;
	question = "_Have raiders attacked here yet?_";
	text1 = "_No. [F3] has not been attacked in many years. When it is, the attack will come in the dark, and it will be lethal._";

begintalknode;
	state = 21;
	nextstate = -1;
	condition = 1;
	question = "_I'm in the mood to hunt some raiders._";
	text1 = "For a moment, you see a flicker of a smile. _I can see that, [P]. If you want to get a little justified revenge, talk to Raasa Lawita in Azam. I am sure that he has a petition._";

begintalknode;
	state = 21;
	nextstate = 10;
	condition = 1;
	question = "_That is all I need to know._";
	text1 = "_I hope I have helped. If I have, it is the first time in years._";

begintalknode;
	state = 10;
	nextstate = -1;
	condition = gf(80,12) >= 8;
	question = "_I have been to the heart of the Ro._";
	text1 = "_Yes. The rumors have flown, as you can imagine. You have done so much more than we expected. Now, we have to trust your wisdom._";

	
//

begintalknode;
	tag = 40;
	state = -1;
	nextstate = 40;
	condition = 1;
	question = "Name";
	text1 = "The main hall of this fort has multiple halls and warehouses to store supplies. At first glance, their stores seem entirely inadequate to the situation. Lots of bare floors and empty shelves.";
	text2 = "Yet, the man in charge is a cheery soul. He's a short, healthy, excessively well-fed man, and he inventories his goods with relentless bureaucratic enthusiasm. He greets you with a deep bow. _Welcome, [P]. I am Mynus. I look after the planks and the casks._";
	text5 = "Mynus walks you up and down the long halls of his storerooms, which should have far more supplies than they do. There is a cart in one corner, there to aid in the transport of goods that aren't here.";
	action = INTRO;

begintalknode;
	state = 40;
	nextstate = 41;
	condition = 1;
	question = "_So what do you do here?_";
	text1 = "_I am the quartermaster of [F3]. I take the meagre budget I am assigned, and I use it to buy from the downward Ro the supplies that we need. Well, a fraction of the supplies we need._";

begintalknode;
	state = 41;
	nextstate = -1;
	condition = 1;
	question = "_What sort of things do you buy from them?_";
	text1 = "_Stone from the Low Dhagans, of course. They don't have much beyond stone, but they have a lot of it. Food from the coast. Wood from the Kranas._";
	text2 = "_I don't buy much from the High Litha. But if I need gravel and snow, I'll go there first._";

begintalknode;
	state = 41;
	nextstate = -1;
	condition = 1;
	question = "_Where do you get your funds?_";
	text1 = "_They are assigned to us in Azam, by Governor Aato. The current belief is that we need very, very few funds for our operation. We make do._";

begintalknode;
	state = 41;
	nextstate = 42;
	condition = 1;
	question = "_What do you think of the Low Dhaga?_";
	text1 = "_Hmmm. Quite an interesting land. They work stone and make marvelous buildings. Slow, painstaking work. Then they amuse themselves by raiding the other clans. And the Ro. And the Achaemin. And anyone they can find._";
	text2 = "_Honestly, I like them when they come in. Dealing with them is peculiar, though._";

begintalknode;
	state = 42;
	nextstate = -1;
	condition = 1;
	question = "_Peculiar how?_";
	text1 = "_I only ever meet their men. Their women are always kept at home. None of my business, of course, but it makes my view of them a bit lopsided._";

begintalknode;
	state = 40;
	nextstate = 43;
	condition = 1;
	question = "_Are you properly supplied?_";
	text1 = "_Oh. Yes. I suppose I should have expected the question. I'm not sure what the governor would want me to say. He wants to be the one who deals with outsiders. Like you, no offense._";

begintalknode;
	state = 43;
	nextstate = 44;
	condition = 1;
	question = "_But I'm sure you will provide information to your [P]._";
	text1 = "_Of course! I don't want to be hung out in the sun. I'd miss meals! I won't pretend that we have enough supplies. Anyway, you've seen the state of our fort. We've been neglected for some time._";

begintalknode;
	state = 44;
	nextstate = -1;
	condition = 1;
	question = "_Why won't the governor give you supplies?_";
	text1 = "_Governor Aato has a belief about the Rokaj. He thinks that, as long as we never provoke them, there will never be another Great Uprising. He doesn't want them to feel threatened by us. Strong forts are threatening._";
	text2 = "_I have no opinion on his strategy._";

begintalknode;
	state = 44;
	nextstate = -1;
	condition = 1;
	question = "_So you have no supplies._";
	text1 = "Mynus grins. _Well, it is not as dire as that. I'm a good trader. I have bought far more with my pitiful allowance than anyone knows. Not everything we have is where our governor can see and take it._";
	text2 = "_We need more, true. However, if there is a war, we'll be able to fight. I've made sure of it._";

begintalknode;
	state = 44;
	nextstate = 45;
	condition = 1;
	question = "_Anything I can do for you?_";
	text1 = "Mynus takes a deep breath and maintains control. _So much, but I need to be modest. It would do wonders if Haven regained control of its mines. The recent raids caused some problems there._";

begintalknode;
	state = 45;
	nextstate = -1;
	condition = 1;
	question = "_I can help with that._";
	text1 = "_Then talk to Counsel Opal in Azam. She is in charge of Haven's quarries here. The governor likes to keep all power close, so that it can't be used._";

	
//

begintalknode;
	tag = 70;
	state = -1;
	nextstate = 70;
	condition = 1;
	question = "Name";
	text1 = "A young, energetic woman maneuvers through her tiny field hospital. She is preparing medicines and tending to the beds. She doesn't have any patients yet, but she is ready.";
	text2 = "When she looks at you for the first time, she is terrified. Odd. She soon regains her composure. _Welcome, [P]. I am Sage Rietta, and this is my hospital. It is small and humble, but I will be ready if and when the battles spread._";
	text5 = "Sage Rietta soon runs out of hospital to show you. She doesn't want to make potions and lotions while you are here, so she makes tea and awkward small talk.";
	action = INTRO;

begintalknode;
	state = 70;
	nextstate = 71;
	condition = 1;
	question = "_This is quite an apothecary._";
	text1 = "She smiles nervously. _There is no need to flatter me. It is humble. If there is a war, I won't be able to satisfy the need._";
	text2 = "_Still, I am doing all I can. What else can a Havenite do?_";

begintalknode;
	state = 71;
	nextstate = -1;
	condition = 1;
	question = "_What ailments can you treat?_";
	text1 = "_The more common illnesses. Infections. We have a crude surgery. The local clans, if they have an accident, or difficult childbirth, come to me. If there is a full war, we will need so much more._";

begintalknode;
	state = 71;
	nextstate = 72;
	condition = 1;
	question = "_How do you get your supplies?_";
	text1 = "She takes a moment to decide how to answer. _There are those here who make sure I get all I ask for. A need is anticipated. They are taking a risk._";

begintalknode;
	state = 72;
	nextstate = 71;
	condition = 1;
	question = "_Why are they taking a risk?_";
	text1 = "_Governor Aato doesn't want to let the Low Dhagans think we are preparing for war. A large field hospital is seen as preparation. He doesn't want me to do too much, but I still have some political contacts._";

begintalknode;
	state = 71;
	nextstate = 73;
	condition = gf(3,12) == 0;
	question = "_Do you need any help?_";
	text1 = "She grins. _I always need help. I am a healer of Haven. I have served in the Palace itself. I will always try to build more, heal more._";
	text2 = "_There are things I need I have been unable to get. However, I don't want to anger royalty. I have found how unwise a choice that can be._";

begintalknode;
	state = 73;
	nextstate = 70;
	condition = gf(3,12) == 0;
	question = "_I'll keep that in mind._";
	text1 = "She changes the subject. _What else would you like to know?_";

begintalknode;
	state = 73;
	nextstate = -1;
	condition = 1;
	question = "_I can help you to supply your little hospital._";
	text1 = "_I am honored. I am willing to take advantage of your good nature._";
	code =
		sf(3,12,1);
		toggle_quest(38,1);
	break;
	
begintalknode;
	state = 70;
	nextstate = 74;
	condition = 1;
	question = "_What are you preparing for?_";
	text1 = "_I prepare to heal the soldiers here. I help the nearby clans when I can. However, I am in a fort of Haven, and there have been many, many more raids lately. To and from the Low Dhaga._";
	text2 = "_So I prepare for war._";

begintalknode;
	state = 74;
	nextstate = 75;
	condition = 1;
	question = "_Do you think there will be a war?_";
	text1 = "_I don't know. Someone tried to kill you. Every day, more ka-wolves are seen in the wilds. Plus, there are rumors. I don't know what will happen._";
	text2 = "_It'll be up to you, I suppose._";

begintalknode;
	state = 75;
	nextstate = 70;
	condition = gf(3,13) == 0;
	question = "_I will prevent a war if I can. Peace is my main goal._";
	text1 = "_I am glad. However, the Rokaj has a way of provoking even the most patient._";
	code =
		violence(-2);
		sf(3,13,1);
	break;
	
begintalknode;
	state = 75;
	nextstate = 70;
	condition = gf(3,13) == 0;
	question = "_The Ro attacked me. I must return order with fire and steel._";
	text1 = "She nods sadly. _The Rokaj has a way of provoking even the most patient. Which you clearly are not. I will prepare for the results of your choices._";
	code =
		violence(2);
		sf(3,13,1);
	break;
	
begintalknode;
	state = 70;
	nextstate = 76;
	condition = 1;
	question = "_How did you come to be assigned so far out here?_";
	text1 = "The look of fear you saw on her face when you first met her returns. _Before I was here, I was in Sharyn's Palace._ She takes a deep breath. _I helped in the treatment of your mother._";

begintalknode;
	state = 76;
	nextstate = 77;
	condition = 1;
	question = "_You treated my mother?_";
	text1 = "_Very briefly. I gave some opinions that were ... unpopular. Then I was sent away. Very far away._";

begintalknode;
	state = 77;
	nextstate = 78;
	condition = 1;
	question = "_What did you say that was so bad?_";
	text1 = "_Saying what I said got me sent to this violent wasteland. I really don't want to be sent to a worse place. There are worse places._";
	text3 = "_Please don't make me say it again. I have been punished enough._";
	action = DEP_ON_SDF 3 14 0;
	
begintalknode;
	state = 78;
	nextstate = 70;
	condition = gf(3,14) == 0;
	question = "_Understood. I forbid you to discuss my mother's health further._";
	text1 = "_Thank you, [P]. I will happily obey._";
	code =
		sf(3,14,1);
	break;
	
begintalknode;
	state = 78;
	nextstate = 79;
	condition = gf(3,14) == 0;
	question = "_I am a [P]. I command you to tell me what you said._";
	text1 = "_I said that her situation was very bad and that we should not pretend otherwise. I also foolishly asked why her condition was being hidden from, well, everyone. I should have kept my mouth shut._";
	text2 = "";
	code =
		sf(3,14,1);
	break;

begintalknode;
	state = 78;
	nextstate = 79;
	condition = gf(3,14) == 0;
	question = "_I can't get honest answers about my mother. I am asking you to tell me the truth._";
	text1 = "_I said that her situation was very bad and that we should not pretend otherwise. I also foolishly asked why her condition was being hidden from, well, everyone. I should have kept my mouth shut._";
	code =
		sf(3,14,1);
	break;

begintalknode;
	state = 79;
	nextstate = 80;
	condition = 1;
	question = "_What is wrong with her?_";
	text1 = "_Alas, the doctors of Haven tend to research wounds, not diseases. We know that some sort of wasting illness is slowly crawling through her. It will cause pain, so we give her treatment for that. It will weaken her._";
	text2 = "_Then it will kill her, or it won't._";

begintalknode;
	state = 80;
	nextstate = 70;
	condition = 1;
	question = "_Thank you. This is not to be discussed again._";
	text1 = "_Thank you, [P]. I will happily obey._";

begintalknode;
	state = 80;
	nextstate = 70;
	condition = 1;
	question = "_You can't tell me more?_";
	text1 = "_I ... can't. Not honestly. I have not seen her for some time, and I'm sure the illness will have advanced._";
	text2 = "_If you see her and can describe her current condition to me, I can tell you more. I can't ethically say anything else._";
	code =
		sf(3,14,2);
		toggle_quest(39,1);
	break;

begintalknode;
	state = 70;
	nextstate = 81;
	condition = gf(3,14) == 2 && gf(80,12) >= 5;
	question = "_I have been back to the Palace. I spoke with my mother again._";
	text1 = "Rietta nods nervously. _And how was she? Leave out no details._";
	
begintalknode;
	state = 81;
	nextstate = 82;
	condition = 1;
	question = "_She seemed to be much improved. Everyone was in good spirits._ Describe the meeting.";
	text1 = "She listens carefully. _I see. I am glad she seems better. Alas, this is not unusual. The disease sometimes slows for a bit, giving a blessed respite. Then the collapse continues. Enjoy the peace while you can, but don't have too much hope._";

begintalknode;
	state = 82;
	nextstate = -1;
	condition = 1;
	question = "_You are a depressing person._";
	text1 = "_I have been told that before. That is the price of valuing truth._";

begintalknode;
	state = 82;
	nextstate = -1;
	condition = 1;
	question = "_You can't tell me any more._";
	text1 = "_No. It is an unpredictable journey. It will probably end in death. Then again, we all end in death._";

begintalknode;
	state = 82;
	nextstate = 70;
	condition = 1;
	question = "_Thank you. If you speak of this to anyone, you will be punished._";
	text1 = "_I have already been heavily punished, but I know I can be punished more. I will be silent._";
	code =
		sf(3,14,3);
		toggle_quest(39,10);
		violence(1);
	break;

begintalknode;
	state = 82;
	nextstate = 70;
	condition = 1;
	question = "_I am very grateful for this scrap of honesty._";
	text1 = "_I wish I could give better news, but I am sworn to honesty. I wish your family the best._";
	code =
		sf(3,14,3);
		toggle_quest(39,10);
	break;

begintalknode;
	state = 70;
	nextstate = 83;
	condition = gf(3,12) == 1 || gf(3,12) == 2;
	question = "_Can I help you to stock your apothecary?_";
	text1 = "_Well, there is a certain exotic ingredient I need. Very hard to find, but I know you have a reputation for being a hunter. I need the egg of a fire lizard. Fairly fresh. Wrapped up warmly for transport._";
	text2 = "_The yolk of one such egg can add effectiveness to a wide variety of medicines._";
	code =
		sf(3,12,2);
		toggle_quest(38,3);
	break;

begintalknode;
	state = 83;
	nextstate = -1;
	condition = 1;
	question = "_Where can I get such an egg?_";
	text1 = "_I've heard rumors. There is an infernal cavern to the northeast. The locals call it the Firepits. This could be a valuable source of resources for Haven, should you ever be there. If you can get one such egg there, in more peaceful times we can get more._";

begintalknode;
	state = 83;
	nextstate = -1;
	condition = 1;
	question = "_Anything special I should know?_";
	text1 = "_Only that the eggs don't keep for very long. If the fire lizards there are driven out, any eggs they leave behind will die quickly. They will need to be fresh._";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = gf(3,12) == 2 && gf(33,11) > 0 && has_spec_item(20) == 0;
	question = "_I explored the Firepits, but there are no fire lizard eggs left there._";
	text1 = "_Oh, well. It was worth an effort. I hoep you had good hunting there. Thank you for the help._";
	text2 = "_There is another way that you might be helpful, if you are already planning to do some traveling._";
	code = 
		set_flag(3,12,3);
		toggle_quest(38,4);
	break;
	
begintalknode;
	state = 70;
	nextstate = -1;
	condition = gf(3,12) == 2 && has_spec_item(20) > 0;
	question = "_I got a fire lizard egg from the Firepits._ Give it to her.";
	text1 = "She unwraps the egg, cradles it in her arms, and gives it a good sniff. _Perfect! I will be able to do a lot with this. Making potions, for example. I may be able to make one for you._";
	text2 = "_For now, let me give you some supplies I don't actually need._ She gives you some papers and a small flask. _These things are useful, but for research, not healing._";
	text3 = "_There is another way that you might be helpful, if you are already planning to do some traveling._";
	code = 
		set_spec_item(20,-1);
		set_flag(3,12,3);
		toggle_quest(38,4);
		award_party_xp(MED_QUEST_XP);
		change_crafting(0,1,0,0,1);
	break;		

begintalknode;
	state = 70;
	nextstate = 84;
	condition = gf(3,12) == 3 || gf(3,12) == 4;
	question = "_Anything else that I can find for you?_";
	text1 = "_Well, this is an embarrassing request. I'm slightly ashamed to give it. Yet, you are the only person I know who can help._";
	text2 = "_A package of herbs was being delivered to me. Rare mosses and lichens from the peaks of the Ro. Incredibly useful for treating wounds. It was being sent from the upper High Litha. It never arrived. I suspect theft._";

begintalknode;
	state = 84;
	nextstate = 85;
	condition = 1;
	question = "_Alas, it seems likely._";
	text1 = "_Agreed. If you can find this package and bring it to me, I would be very grateful. I only ask because I suspect you will be going up there. Diplomacy and all that._";
	code =
		sf(3,12,4);
		toggle_quest(38,5);
	break;

begintalknode;
	state = 85;
	nextstate = -1;
	condition = 1;
	question = "_Where might I track down this package?_";
	text1 = "_It would have passed through the town of Jajayim. Since it was being sent to Haven, it would have gotten a lot of attention._";
	text2 = "_If my package reached there, someone in the Raasa's hall would know about it._";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = gf(3,12) == 4 && has_spec_item(21);
	question = "_It took some effort, but I found your package._ Give it to her.";
	text1 = "She is delighted. _And the seal is still intact! This will be very valuable. Every day, I hear more rumors of war. Now I am more prepared._ She removes a flask from her shelves and gives it to you.";
	text2 = "_I made this recently. These flasks are very hard to create, but I managed. I would be honored if you took it._";
	code = 
		set_spec_item(21,-1);
		set_flag(3,12,5);
		toggle_quest(38,10);
		award_party_xp(MED_QUEST_XP);
		reward_give(340);

	break;		

begintalknode;
	state = 70;
	nextstate = -1;
	condition = gf(3,12) == 5;
	question = "_Anything else I can get for you?_";
	text1 = "_The only thing I want you to bring me now is peace. Yet, I suspect it is impossible. I ask for nothing more, and I only wish you wisdom and good fortune._";


//

begintalknode;
	tag = 100;
	state = -1;
	nextstate = 100;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 100;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

//

begintalknode;
	tag = 130;
	state = -1;
	nextstate = 130;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 130;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

//

begintalknode;
	tag = 160;
	state = -1;
	nextstate = 160;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 160;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";
		
//

begintalknode;
	tag = 190;
	state = -1;
	nextstate = 190;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 190;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";
				